//
//  CAAnimation+SWAdd.h
//  QZMJ
//
//  Created by 腾程－ios1 on 16/12/20.
//  Copyright © 2016年 曾少伟. All rights reserved.
//

#import <QuartzCore/QuartzCore.h>

@interface CAAnimation (SWAdd)

@end

@interface CAKeyframeAnimation (SWAdd)


/**
 @param path                路劲
 @param valus               值
 @param duration            时间
 @param repeatCount         重复
 @param timingFunctions     曲线
 @param fillMode            保存何时的结果
 @param removedOnCompletion 是否保存动画最终结果
 @param calculationMode     停顿
 */
+ (instancetype)keyAnimationWithKeyPath:(NSString *)path
                      valus:(NSArray *)valus
                   duration:(CGFloat)duration
                repeatCount:(NSInteger)repeatCount
            timingFunctions:(NSArray *)timingFunctions
                   fillMode:(NSString *)fillMode
        removedOnCompletion:(BOOL)removedOnCompletion
            calculationMode:(NSString*)calculationMode;
@end
